package com.fs.controller.vo.friend;

import com.fs.entity.Customer;
import com.fs.service.bo.friend.BoFriend;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.ArrayList;
import java.util.List;

@Data
@Accessors(chain = true)
public class RespFriend {

    private Integer id;
    private String name;
    private String phone;
    //前端需要
    private boolean check;

    public RespFriend(BoFriend friend) {
        this.id = friend.getId();
        this.name = friend.getName();
        this.phone = friend.getPhone();
        check = false;
    }
}
